import type { App } from "vue";


import Explain from "@/components/global/Explain.vue";
import Dialog from "@/components/global/Dialog.vue";
import NoData from "@/components/global/NoData.vue";
import StatusBoolean from "@/components/global/StatusBoolean.vue";
import Drawer from "@/components/global/Drawer.vue";

/**
 * 全局注册组件
 * @param app
 */
export function setupGlobalComponents(app: App) {
  app.component("Explain", Explain);
  app.component("Dialog", Dialog);
  app.component("NoData", NoData);
  app.component("StatusBoolean", StatusBoolean);
  app.component("Drawer", Drawer);
}
